package com.aspose.cells.a.d;

public class zbr implements zbh {
   private long a;
   private int b = 0;
   private int c = 0;
   private int d = 0;
   private int e = 0;
   private boolean f = false;
   private boolean g = false;
   private boolean h = false;
   private String i = "Microsoft Sans Serif";

   public void a(zcm var1) throws Exception {
      this.c = var1.n();
      var1.n();
      this.d = var1.n();
      var1.n();
      this.e = var1.n();
      this.f = var1.o();
      this.g = var1.o();
      var1.o();
      var1.m();
      var1.m();
      var1.m();
      var1.m();
      var1.m();
      this.i = var1.b(32).trim();
   }

   public void a(zcf var1) throws Exception {
      this.a = var1.r();
      this.c = var1.q();
      var1.q();
      this.d = var1.q();
      var1.q();
      this.e = var1.q();
      this.f = var1.o();
      this.g = var1.o();
      this.h = var1.o();
      var1.m();
      var1.m();
      var1.m();
      var1.m();
      var1.m();
      this.i = com.aspose.cells.b.a.zv.b(var1.b(32).trim(), '\u0000');
   }

   public zav c() throws Exception {
      return zav.a(this.i, this.f(), this.d());
   }

   public int d() {
      if (this.b != 0) {
         return this.b;
      } else {
         if (this.e >= 700) {
            this.b |= 1;
         }

         if (this.f) {
            this.b |= 2;
         }

         if (this.g) {
            this.b |= 4;
         }

         if (this.h) {
            this.b |= 8;
         }

         return this.b;
      }
   }

   private float f() {
      return this.c != 0 ? (float)Math.abs(this.c) : 12.0F;
   }

   public int a() {
      return 6;
   }

   public long b() {
      return this.a;
   }

   public void a(long var1) {
      this.a = var1;
   }

   public float e() {
      return (float)this.d / 10.0F;
   }

   public void a(String var1) {
      this.i = var1;
   }
}
